package com.gengzp.mq.client.constants;

/**
 * @ClassName MqRequestUrlConstants
 * @Description 消息队列请求url常量池
 * @Author gengzp
 * @Date 2025/9/4 17:46
 */
public interface MqRequestUrlConstants {

    // http请求前缀
    String HTTP_REQUEST_PREFIX = "http://";

    // 创建topic
    String CREATE_TOPIC = "/mq/topic/create";

    // 编辑主题描述
    String EDIT_TOPIC_DESC = "/mq/topic/edit_description";

    // 删除主题
    String REMOVE_TOPIC = "/mq/topic/remove";

    // 查询主题列表
    String LIST_TOPIC = "/mq/topic/list";

    // 发送消息
    String SEND_MESSAGE = "/mq/message/send";

    // 重发消息
    String RESEND_MESSAGE = "/mq/message/resend";

    // 订阅topic
    String SUBSCRIBE_TOPIC = "/mq/message/receive";

    // ack确认消息
    String ACK_MESSAGE = "/mq/message/ack";

    // 分页查询消息
    String PAGE_QUERY_MESSAGE = "/mq/message/page";

}
